package com.myapp.exception;

public class BusiException extends RuntimeException {

	private static final long serialVersionUID = -2336312966744717382L;

	public enum BusiExceptionType{entityExists};
	
	private BusiExceptionType type;
	
	public BusiException(BusiExceptionType type,String message)
	{
		super(message);
		this.type = type;
	}

	public BusiExceptionType getType() {
		return type;
	}	
}
